﻿<UserControl x:Class="Silverlight.Arcgis.MapTip.Navigation"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:esri="clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client"
    xmlns:esriGeometry="clr-namespace:ESRI.ArcGIS.Client.Geometry;assembly=ESRI.ArcGIS.Client"
    xmlns:esriToolkit="clr-namespace:ESRI.ArcGIS.Client.Toolkit;assembly=ESRI.ArcGIS.Client.Toolkit">
    <Grid x:Name="LayoutRoot" Background="#FF393939">

        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="200" />
        </Grid.RowDefinitions>

        <esri:Map x:Name="MyMap" Grid.RowSpan="2" Extent="-130,10,-70,60">
            <esri:Map.Layers>
                <esri:ArcGISDynamicMapServiceLayer
                    ID="StreetMapLayer" 
                    Url="{StaticResource MapUrl}"/>
            </esri:Map.Layers>
        </esri:Map>

        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Grid.Row="2">
            <esriToolkit:Navigation x:Name="MyNavigation"   Margin="5"  />
        </StackPanel>

    </Grid>
</UserControl>
